import request from '@/utils/request'

export function listtsAirwarring(query) {
  return request({
    url: '/material/tsAirwarring/list',
    method: 'get',
    params: query
  })
}

export function createtsAirwarring(data) {
  return request({
    url: '/material/tsAirwarring/create',
    method: 'post',
    data
  })
}

export function readtsAirwarring(data) {
  return request({
    url: '/material/tsAirwarring/get/' + data.id,
    method: 'get'
  })
}

export function updatetsAirwarring(data) {
  return request({
    url: '/material/tsAirwarring/update',
    method: 'post',
    data
  })
}

export function deletetsAirwarring(data) {
  return request({
    url: '/material/tsAirwarring/delete/' + data.fwarringno,
    method: 'delete'
  })
}
